package com.dronff.promise4j;

public class Test {
    public static void main(String[] args) {
        Promise a = new Promise((promise)->{
            System.out.println("我是1");
            promise.send();
        }).then((promise)->{
            System.out.println("我是2");
        });
        a.send();
    }
}
